package com.centersoft.flowable.db.task.entity;

import com.centersoft.parent.base.annotation.QueryFieldConfig;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 任务审批人
 *
 * @author wangzhiqiang
 * @since 2025/3/12 10:55
 */
@Data
@Entity
@Table(name = "act_extension_assignee")
public class FlowAssigneeEntity {
    @Id
    private String id;
    /**
     * 用户类型
     */

    private String type;
    /**
     * 用户来自
     */
    private String value;
    /**
     * 附加条件
     */
    private String conditions;
    /**
     * 运算类型
     */
    private String operationType;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 流程定义主类
     */
    @QueryFieldConfig(field = "taskDefId")
    @Column(name = "task_def_id")
    private String taskDefId;

}
